-
Notifications
You must be signed in to change notification settings - Fork 82
Basic host identity manager #3840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mariadb-AlexanderPresniakov
wants to merge
11
commits into
stable-23.10
Choose a base branch
from
feat/MCOL-6207-host-identity-manager
base: stable-23.10
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Basic host identity manager #3840
mariadb-AlexanderPresniakov
wants to merge
11
commits into
stable-23.10
from
feat/MCOL-6207-host-identity-manager
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6f157f3 to
50efa91
Compare
9975436 to
8451f56
Compare
c9df8ec to
442f311
Compare
442f311 to
a4b2e54
Compare
…isible from other hosts
831b4d5 to
e1610f8
Compare
e0391b4 to
6423a6c
Compare
6423a6c to
2314db2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Вводим новую сущность HostIdentity, она содержит IP адреса и проверенные имена хоста, если они есть. Идея в том, что мы один раз для каждого хоста вычисляем эти адреса, каждый из них должен быть виден с других хостов (поэтому каждое имя мы проверяем в dns). То есть мы скипаем всякие локальные, link-local адреса, а еще выбрасываем алиасы, прописанные где-либо кроме dns (то есть например всякие настройки systemd, которые у нас всплывали на debian, перестают давать нам неправильные имена)
Чтобы не перегружать HostIdentity, настройки резолвинга вынесены в отдельный класс полиси. Там же упорядочивание адресов (как нам упорядочивать адреса, чтобы понять какой адрес первичный и самый главный?)